import Loadable from 'react-loadable';
import React from 'react';
//组件异步加载
const LoadableComponent = Loadable({
  loader: () => import('./'),
  loading(){
       return <div>正在加载</div>
   }
});

export default () => <LoadableComponent/>;
